From: Félix Sipma Date: Mon, 31 Oct 2016 12:28:53 +0000 (+0000) Subject: Import patat_0.3.3.0-1.debian.tar.xz X-Git-Tag: archive/raspbian/0.8.2.1-1+rpi1~1^2^2^2~1^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ed7e90d132b9be3250c81031f09fe4b75207213d;p=patat.git Import patat_0.3.3.0-1.debian.tar.xz [dgit import tarball patat 0.3.3.0-1 patat_0.3.3.0-1.debian.tar.xz] --- ed7e90d132b9be3250c81031f09fe4b75207213d diff --git a/changelog b/changelog new file mode 100644 index 0000000..1171984 --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +patat (0.3.3.0-1) unstable; urgency=medium + + * Initial release (Closes: #840738) + + -- Félix Sipma Mon, 31 Oct 2016 13:28:53 +0100 diff --git a/compat b/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +10 diff --git a/control b/control new file mode 100644 index 0000000..794b208 --- /dev/null +++ b/control @@ -0,0 +1,40 @@ +Source: patat +Maintainer: Félix Sipma +Priority: extra +Section: haskell +Build-Depends: debhelper (>= 10), + ghc, + libghc-aeson-dev (>= 0.9), + libghc-aeson-dev (<< 1.1), + libghc-ansi-terminal-dev (>= 0.6), + libghc-ansi-terminal-dev (<< 0.7), + libghc-ansi-wl-pprint-dev (>= 0.6), + libghc-ansi-wl-pprint-dev (<< 0.7), + libghc-highlighting-kate-dev (>= 0.6), + libghc-highlighting-kate-dev (<< 0.7), + libghc-mtl-dev (>= 2.2), + libghc-mtl-dev (<< 2.3), + libghc-optparse-applicative-dev (>= 0.12), + libghc-optparse-applicative-dev (<< 0.14), + libghc-pandoc-dev (>= 1.16), + libghc-pandoc-dev (<< 1.19), + libghc-terminal-size-dev (>= 0.3), + libghc-terminal-size-dev (<< 0.4), + libghc-text-dev (>= 1.2), + libghc-text-dev (<< 1.3), + libghc-yaml-dev (>= 0.7), + libghc-yaml-dev (<< 0.9), + pandoc +Standards-Version: 3.9.8 +Homepage: http://github.com/jaspervdj/patat +Vcs-Git: https://git.gueux.org/patat.git +Vcs-Browser: https://git.gueux.org/?p=patat.git;a=summary + +Package: patat +Architecture: any +Section: misc +Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends} +Description: Terminal-based presentations using Pandoc + patat (*P*resentations *A*top *T*he *A*NSI *T*erminal) is a small tool that + allows you to show presentations using only an ANSI terminal. It does not + require `ncurses`. diff --git a/copyright b/copyright new file mode 100644 index 0000000..f9fa260 --- /dev/null +++ b/copyright @@ -0,0 +1,29 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: patat +Upstream-Contact: Jasper Van der Jeugt +Source: https://hackage.haskell.org/package/patat + +Files: * +Copyright: 2016 Jasper Van der Jeugt +License: GPL-2 + +Files: debian/* +Copyright: 2016 Félix Sipma +License: GPL-2 + +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General Public License version + 2 can be found in `/usr/share/common-licenses/GPL-2'. diff --git a/docs b/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/docs @@ -0,0 +1 @@ +README.md diff --git a/lintian-overrides b/lintian-overrides new file mode 100644 index 0000000..172c637 --- /dev/null +++ b/lintian-overrides @@ -0,0 +1,2 @@ +# standard override for Haskell binary packages +binary-or-shlib-defines-rpath diff --git a/patat.examples b/patat.examples new file mode 100644 index 0000000..56ab4af --- /dev/null +++ b/patat.examples @@ -0,0 +1 @@ +extra/screenshot.png diff --git a/patat.install b/patat.install new file mode 100644 index 0000000..3d405a1 --- /dev/null +++ b/patat.install @@ -0,0 +1 @@ +dist/build/patat/patat usr/bin diff --git a/patat.manpages b/patat.manpages new file mode 100644 index 0000000..fdcdd4e --- /dev/null +++ b/patat.manpages @@ -0,0 +1 @@ +debian/patat.1 diff --git a/patat.md b/patat.md new file mode 100644 index 0000000..34717ee --- /dev/null +++ b/patat.md @@ -0,0 +1,48 @@ +% patat(1) +% [Jasper Van der Jeugt](mailto:m@jaspervdj.be) +% October 2016 + +Name +==== + +patat - Terminal-based presentations using Pandoc + +Synopsis +======== + +`patat` [*OPTION* ...] [*FILENAME*] + +Description +=========== + +`patat` (**P**resentations **A**top **T**he **A**NSI **T**erminal) is a small +tool that allows you to show presentations using only an ANSI terminal. It +does not require `ncurses`. + +Options +======= + +`-h`,`--help` + +: Show this help text + +`FILENAME` + +: Input file + +`-f`,`--force` + +: Force ANSI terminal + +`-d`,`--dump` + +: Just dump all slides and exit + +`-w`,`--watch` + +: Watch file for changes + +`--version` + +: Display version info and exit + diff --git a/patches/0001-Debianize-README.md.patch b/patches/0001-Debianize-README.md.patch new file mode 100644 index 0000000..9205b65 --- /dev/null +++ b/patches/0001-Debianize-README.md.patch @@ -0,0 +1,80 @@ +From: =?utf-8?q?F=C3=A9lix_Sipma?= +Date: Thu, 20 Oct 2016 15:09:42 +0200 +Subject: Debianize README.md + +- remove installation instructions and CI links +- modify link to screenshot file + +Forwarded: not-needed +--- + README.md | 36 +----------------------------------- + 1 file changed, 1 insertion(+), 35 deletions(-) + +diff --git a/README.md b/README.md +index 3cd2820..3dfcdf6 100644 +--- a/README.md ++++ b/README.md +@@ -1,8 +1,6 @@ + patat + ===== + +-[![Build Status](https://img.shields.io/travis/jaspervdj/patat.svg)](https://travis-ci.org/jaspervdj/patat) [![Hackage](https://img.shields.io/hackage/v/patat.svg)](https://hackage.haskell.org/package/patat) [![GitHub tag](https://img.shields.io/github/tag/jaspervdj/patat.svg)]() +- + `patat` (**P**resentations **A**top **T**he **A**NSI **T**erminal) is a small + tool that allows you to show presentations using only an ANSI terminal. It does + not require `ncurses`. +@@ -20,7 +18,7 @@ Features: + syntax files. + - Written in [Haskell]. + +-![screenshot](extra/screenshot.png?raw=true) ++![screenshot](examples/screenshot.png?raw=true) + + [Kate]: https://kate-editor.org/ + [Haskell]: http://haskell.org/ +@@ -29,9 +27,6 @@ Features: + Table of Contents + ----------------- + +-- [Installation](#installation) +- - [Using stack](#using-stack) +- - [Using cabal](#using-cabal) + - [Running](#running) + - [Input format](#input-format) + - [Configuration](#configuration) +@@ -39,35 +34,6 @@ Table of Contents + - [Syntax Highlighting](#syntax-highlighting) + - [Trivia](#trivia) + +-Installation +------------- +- +-You can build from source using `stack install` or `cabal install`. `patat` is +-also available from [Hackage]. +- +-[Hackage]: https://hackage.haskell.org/package/patat +- +-For people unfamiliar with the Haskell ecosystem, this means you can do either +-of the following: +- +-### Using stack +- +-1. Install [stack] for your platform. +-2. Clone this repository. +-3. Run `stack setup` (if you're running stack for the first time) and +- `stack install`. +-4. Make sure `$HOME/.local/bin` is in your `$PATH`. +- +-[stack]: https://docs.haskellstack.org/en/stable/README/ +- +-### Using cabal +- +-1. Install [cabal] for your platform. +-2. Run `cabal install patat`. +-3. Make sure `$HOME/.cabal/bin` is in your `$PATH`. +- +-[cabal]: https://www.haskell.org/cabal/ +- + Running + ------- + diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..c2206ea --- /dev/null +++ b/patches/series @@ -0,0 +1 @@ +0001-Debianize-README.md.patch diff --git a/rules b/rules new file mode 100755 index 0000000..a640af6 --- /dev/null +++ b/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +# these rules originally written by Joey Hess for hothasktags package + +%: + dh $@ + +override_dh_auto_configure: + ghc --make Setup + ./Setup configure + +override_dh_auto_build: + pandoc -sS debian/patat.md -o debian/patat.1 + ./Setup build + +override_dh_auto_clean: + if [ -x Setup ]; then ./Setup clean; fi + rm -f Setup Setup.o Setup.hi debian/patat.1 + +override_dh_auto_test: + PATH="$(PATH):dist/build/patat/" bash test.sh + +override_dh_strip: + # GHC cannot produce debugging symbols so the -dbgsym package + # ends up empty, so disable generating it + dh_strip --no-automatic-dbgsym diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/watch b/watch new file mode 100644 index 0000000..95dbdf1 --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +version=3 + +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/patat-$1\.tar\.gz/ \ + https://github.com/jaspervdj/patat/tags .*/v?(\d\S*)\.tar\.gz